Game = {}
rawset(Game, "__index", Game)

function CreateGame()
	inst = {}
	setmetatable(inst, Game)

	local render_target = ov.CreateRenderWindow("GameRenderWindow", 800, 600)
	if render_target == nil then return nil end
	inst.render_target = render_target

	local scn = ov.Scene()
	local cam = scn:CreateCamera("MainCamera")
	inst.scene = scn
	inst.camera = cam

	render_target:AddViewPort(cam)
	cam.backgroundcolor = 0xff0000ff
	cam.position = ov.Vector3(0, 60, 1000)
	cam.orientation = ov.Quaternion(ov.Vector3(0, 0, -1), 0)

	return inst
end